Name | Damage Triggers |
Description | Damage Triggers are triggered when when a player left clicks the NPC.
Despite the name, these do not actually require the NPC take any damage, only that the player left clicks the NPC. In scripts, use <context.damage> to measure how much damage was done to the NPC (though note that invincible NPCs don't necessarily take any damage even when this is non-zero). These are very basic with no extraneous complexity. |
Group | NPC Interact Scripts |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/triggers/core/DamageTrigger.java#L30 |